package com.gambi.tapestry.client.chatter.model;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Contact implements IsSerializable {
	private String name;

	public Contact() {
	}

	public Contact(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj instanceof Contact) {
			return this.name.equals(((Contact) obj).name);
		} else {
			return false;
		}
	}
}
